package com.ruoyi.common.vo;

import cn.hutool.core.util.PageUtil;
import lombok.Data;

@Data
public class PageBaseVO {
    private int pageNo = 0;
    private int pageSize = 20;
    private int startIndex;

    public int getStartIndex() {
        return PageUtil.getStart(pageNo ,pageSize);
    }
}
